aboutsummaryrefslogtreecommitdiffstats
path: root/src/routes/[username]
diff options
context:
space:
mode:
Diffstat (limited to 'src/routes/[username]')
-rw-r--r--src/routes/[username]/receive.svelte2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/routes/[username]/receive.svelte b/src/routes/[username]/receive.svelte
index 9ebc0401..e0bf7751 100644
--- a/src/routes/[username]/receive.svelte
+++ b/src/routes/[username]/receive.svelte
@@ -82,7 +82,7 @@
};
let submit = async () => {
- let { id } = await post('/invoice', { amount, username: $page.params.username });
+ let { id } = await post('/invoice', { amount, rate: $rate, username: $page.params.username });
console.log(id)
goto(`/invoice/${id}`);
};